//
//  BarViewController.h
//  BorderDemo
//
//  Created by 浩GG on 15/3/17.
//  Copyright (c) 2015年 YaoYu. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol BarDelegate <NSObject>

-(void)selectedOneItemWithIndex:(NSInteger)index;

@end

@interface BarViewController : UIViewController
{
    CGRect _frame;
    NSMutableArray *bar_array;
    
    UIView *backView;
    
}

@property(nonatomic,strong)id<BarDelegate> delegate;

-(id)initWithFrame:(CGRect)frame;
-(void)animationToMoveWithIndex:(NSInteger)index;

@end
